package com.wang.lotterysystem.common.errorcode;

public interface ServiceErrorCodeConstants {
    //用户模块异常
    ErrorCode REGISTER_INFO_IS_EMPTY = new ErrorCode(101,"用户参数为空");
    ErrorCode MAIL_ERROR = new ErrorCode(102,"邮箱格式不合法");
    ErrorCode PHONE_NUMBER_ERROR = new ErrorCode(103,"手机号码格式不合法");
    ErrorCode IDENTITY_ERROR = new ErrorCode(104,"身份校验失败");
    ErrorCode PASSWORD_ERROR = new ErrorCode(105,"管理员密码不可为空");
    ErrorCode PASSWORD_FORMAT_ERROR = new ErrorCode(106,"密码格式错误");
    ErrorCode MAIL_IS_EMPTY = new ErrorCode(107,"邮箱不可为空");
    ErrorCode MAIL_USED = new ErrorCode(108,"邮箱以被使用");
    ErrorCode PHONE_IS_EMPTY = new ErrorCode(109,"手机号不能为空");
    ErrorCode PHONE_NUMBER_USED = new ErrorCode(110,"手机号以被使用");
    ErrorCode LOGIN_INFO_NOT_EXIST = new ErrorCode(111,"登录方式不存在");
    ErrorCode MAIL_OR_PHONE_ERROR = new ErrorCode(112,"邮箱或手机号错误");
    ErrorCode USER_NOT_EXIST = new ErrorCode(113,"用户不存在");
    ErrorCode VERIFICATION_CODE_ERROR = new ErrorCode(114,"验证码错误");
    ErrorCode CREATE_ACTIVITY_INFO_IS_EMPTY = new ErrorCode(200,"创建活动参数不能为空");
    ErrorCode ACTIVITY_PRIZE_ERROR = new ErrorCode(201,"活动奖品不存在");
    ErrorCode ACTIVITY_USER_ERROR = new ErrorCode(202,"活动人员不存在");
    ErrorCode USER_PRIZE_AMOUNT_ERROR = new ErrorCode(203,"活动奖品不可多余人员");
    ErrorCode ACTIVITY_PRIZE_TIERS_ERROR = new ErrorCode(204,"活动奖品等级不存在");
    ErrorCode ACTIVITY_OR_PRIZE_NOT_EXIST = new ErrorCode(300,"抽奖活动或奖品不存在");
    ErrorCode WINNING_MORE_PRIZE_AMOUNT = new ErrorCode(301,"奖品数量不足");
    ErrorCode ACTIVITY_COMPLETED = new ErrorCode(302,"活动已结束");
    ErrorCode ACTIVITY_PRIZE_COMPLETED = new ErrorCode(303,"奖品已被抽取");
    ErrorCode CONVERT_ACTIVITY_STATUS_ERROR = new ErrorCode(304,"状态扭转失败");
    ErrorCode CACHE_ACTIVITY_ID_IS_EMPTY = new ErrorCode(305,"活动id为空");
    ErrorCode CACHE_ACTIVITY_ID_ERROR = new ErrorCode(306,"要缓存的活动id不存在");
}